Part Number Hot Search : 
HC405 MBR130T3 KA358S LT1134 PE2012 BISS0001 R1060 MAX4312
Product Description
Full Text Search
 

To Download AD1817A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary technical data a AD1817A one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 617/329-4700 world wide web site: http://www.analog.com fax: 617/326-8703 ? analog devices, inc., 1997 rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. features compatible with microsoft pc 97 logo requirements supports applications written for windows ? 95, windows 3.1, windows nt, soundblaster ? pro, adlib ? /opl3 ? stereo audio 16-bit sd codec mpc level-3 mixer isa plug and play compatible 16-bit address decode dual type f fifo dma support mpu-401 compatible midi port supports wavetable synthesizers integrated enhanced digital game port integrated opl3 compatible music synthesizer software & hardware volume control full-duplex capture and playback operation at different sample rates 1 hz resolution programmable sample rates from 5.7 khz to 55.2 khz acpi power management modes operation from +5 v supply built-in 24 ma bus drivers 100-lead pqfp package soundport ? * controller *soundport is a registered trademark of analog devices, inc. all trademarks are the property of their respective holders. product overview the AD1817A soundport ? controller is a single chip plug and play multimedia audio subsystem for concurrently processing functional block diagram (x) aen pc_a (15:0) pc_d (7:0) irq (x) drq (x) g = gain a = attenuate m = mute mv = master volume mic line synth cd g a m g a m g a m digital volume control analog volume control sb pro registers game port vol_dn vol_up midi_in midi_out a_1 a_x b_x a_2 b_2 a_y b_y data a-vol 0db/ 20db m a m a music synthesizer format fifo 16-bit d/a converter atten mute l_out r_out mv phone_out mv mv xtali xtalo 14.31818 mhz oscillators/clock e 2 prom control mpu-401 plug and play isa bus parallel interface b_1 clk selector 16-bit a/ converter 16-bit a/ converter pga format fifo phone_in 16-bit d/a converter AD1817A
AD1817A C2C rev. 0 preliminary technical data multiple digital streams of 16-bit stereo audio in personal computers. the AD1817A maintains full legacy compatibility with applications written for soundblaster pro and adlib, while servicing microsoft pc 97 application requirements. the ad18 17a includes an internal opl3 compatible music syn- thesizer, an mpu-401 uart and a joystick interface with a built-in timer. the AD1817A on-chip plug and play routine provides configuration services for all integrated logical devices. using an external e 2 prom allows the AD1817A to decode up to three additional external user-defined logical devices such as modem and cd-rom. features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 pin function description . . . . . . . . . . . . . . . . . . 10 host interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 isa interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 AD1817A chip registers . . . . . . . . . . . . . . . . . . . . . . . . . 16 AD1817A plug and play device configuration registers . . 16 sound system direct registers . . . . . . . . . . . . . . . . . . . . . 18 sound system indirect registers . . . . . . . . . . . . . . . . . . . 24 sb pro; adlib registers . . . . . . . . . . . . . . . . . . . . . . . . . . 33 midi and mpu-401 registers . . . . . . . . . . . . . . . . . . . . . 33 game port register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 appendix a. plug and play internal rom . . . . . . . . . . . . . . 35 plug and play key and alternate key sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 using an eeprom with the AD1817A . . . . . . . . 37 AD1817A flag bytes . . . . . . . . . . . . . . . . . . . . . . . . 37 using the AD1817A without an eeprom . . . . 39 pin muxing in the AD1817A . . . . . . . . . . . . . . . . 39 programming external eeproms . . . . . . . . . 41 reference designs and device drivers . . . 41 outline dimensions . . . . . . . . . . . . . . . . . . . . . . . . . 44 table of contents figures functional block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 figure 1. pio read cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 2. pio write cycle . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 3. dma read cycle . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 4. dma write cycle . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 5. codec transfers . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 6. reset pulse width . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 7. codec transfers . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 8. typical application circuit . . . . . . . . . . . . . . . . . 42 figure 9. AD1817A frequency response plots . . . . . . . . . 43 tables table i. chip register diagram . . . . . . . . . . . . . . . . . . . . . 16 table ii. logical devices and compatible plug and play device drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table iii. logical device configuration . . . . . . . . . . . . . . . 17 table iv. sound system direct registers . . . . . . . . . . . . . . 18 table v. codec transfers . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table vi. indirect register map and reset/default states . 25 table vii. sound system indirect registers . . . . . . . . . . . . 26 table viii. soundblaster pro isa bus registers . . . . . . . . . 33 table ix. adlib isa bus registers . . . . . . . . . . . . . . . . . . 33 table x. midi isa bus registers . . . . . . . . . . . . . . . . . . . 33 table xi. game port isa bus registers . . . . . . . . . . . . . . . 34 table xiii. AD1817A pin muxing . . . . . . . . . . . . . . . . . . . 39
preliminary technical data specifications standard test conditions unless otherwise noted temperature 25 c digital supply (v dd ) 5.0 v analog supply (v cc ) 5.0 v sample rate (f s ) 48 khz input signal frequency 1008 hz audio output passband 20 hz to 20 khz v ih 5.0 v v il 0v dac test conditions 0 db attenuation input full scale 16-bit linear mode 100 k w output load mute off measured at line output adc test conditions 0 db gain input C3 db relative to full scale line input selected 16-bit linear mode AD1817A rev. 0 C3C analog input parameter min typ max units full-scale input voltage (rms values assume sine wave input) phone_in, line, synth, cd 1 v rms 2.83 v p-p mic with +20 db gain (mge = 1) 0.1 v rms 0.283 v p-p mic with 0 db gain (mge = 0) 1 v rms 2.83 v p-p input impedance* 17 k w input capacitance* 15 pf programmable gain amplifieradc parameter min typ max units step size (0 db to 22.5 db) (all steps tested) 1.5 db pga gain range span 22.5 db cd, synth, microphone, input analog gain/attenuators/mute parameter min typ max units cd, synth, mic step size: (all steps tested) +12 db to C34.5 db 1.5 db input gain/attenuation range 46.5 db phone_in step size 0 db to C45 db: (all steps tested) 3.0 db input gain/attenuation range 45 db
AD1817A C4C rev. 0 preliminary technical data digital decimation and interpolation filters* parameter min typ max units audio passband 0 0.4 f s hz audio passband ripple 0.09 db audio transition band 0.4 f s 0.6 f s hz audio stopband 0.6 f s hz audio stopband rejection 82 db audio group delay 12/f s sec group delay variation over passband 0.0 m s analog-to-digital converters parameter min typ max units resolution 16 bits signal-to-noise ratio (snr) (a-weighted, referenced to full scale) C82 C80 db total harmonic distortion (thd) (referenced to full scale) 0.011 0.015 % C79 C76.5 db audio dynamic range (C60 db input thd+n referenced to full scale, a-weighted) 79 82 db audio thd+n (referenced to full-scale) 0.019 % C76 C74.5 db signal-to-intermodulation distortion* (ccif method) 82 db adc crosstalk* line inputs (input l, ground r, read r; input r, ground l read l) C95 C80 db line to mic (input line, ground and select mic, read adc) C95 C80 db line to synth C95 C80 db line to cd C95 C80 db gain error (full-scale span relative to nominal input voltage) 10 % interchannel gain mismatch (difference of gain errors) 1db adc offset error C22 +15 mv digital-to-analog converters parameter min typ max units resolution 16 bits signal-to-noise ratio (snr) (a-weighted) C83 C79 db total harmonic distortion (thd) 0.006 0.009 % C85 C80.5 db audio dynamic range (C60 db input thd+n referenced to full scale, a-weighted) 79 82 db audio thd+n (referenced to full scale) 0.013 0.017 % C78 C75.5 db signal-to-intermodulation distortion* (ccif method) 95 db gain error (full-scale span relative to nominal input voltage) 10 % interchannel gain mismatch (difference of gain errors) 0.5 db dac crosstalk* (input l, zero r, measure r_out; input r, zero l, measure l_out) C80 db total out-of-band energy (measured from 0.6 f s to 100 khz at l_out and r_out)* C45 db audible out-of-band energy (measured from 0.6 f s to 20 khz at l_out and r_out)* C75 db master volume attenuators (l_out and r_out, phone_out) parameter min typ max units master volume step size (0 db to C43.5 db) 1.5 db master volume step size (C43.5 db to C46.5 db) 1.5 db master volume output attenuation range span 46.5 db mute attenuation of 0 db fundamental* 80 db
preliminary technical data digital mix attenuators* parameter min typ max units step size: music, isa 1.505 db digital mix attenuation range span 94.8 db analog output parameter min typ max units full-scale output voltage (at l_out, r_out, phone_out) 2.8 v p-p output impedance* 570 w external load impedance* 10 k w output capacitance* 15 pf external load capacitance 100 pf v refx * 2.10 2.25 2.40 v v refx current drive* 100 m a v refx output impedance* 6.5 k w mute click (muted analog mixers), muted output minus unmuted output at 0 db 5mv system specifications* parameter min typ max units system frequency response ripple (line in to line out) 1.0 db differential nonlinearity 1 lsb phase linearity deviation 5 degrees static digital specifications parameter min typ max units high level input voltage (v ih )2v xtali 2.4 v low level input voltage (v il ) 0.8 v high level output voltage (v oh ), i oh = 8 ma? 2.4 v low level output voltage (v ol ), i ol = 8 ma 0.4 v input leakage current C10 +10 m a output leakage current C10 +10 m a power supply parameter min typ max units power supply rangeanalog 4.75 5.25 v power supply rangedigital 4.75 5.25 v power supply current 221 ma power dissipation 1105 mw analog supply current 51 ma digital supply current 170 ma acpi power-down modes d0 analog supply current 47 ma d0 digital supply current 120 ma d1 analog supply current 20 ma d1 digital supply current 20 ma d2 analog supply current 10 ma d2 digital supply current 18 ma d3 analog supply current 0 ma d3 digital supply current 6 ma digital power supply currentpower-down 24 ma analog power supply currentreset 0.2 ma digital power supply currentreset 10 ma power supply rejection (100 mv p-p signal @ 1 khz)* (at both analog and digital supply pins, both adcs and dacs) 40 db rev. 0 C5C AD1817A
AD1817A C6C rev. 0 preliminary technical data t dksu t dkhd t aesu t aehd t stw t rddv t dhd1 t adsu t adhd drq (0, 1, 3) (0, 1, 3) aen pc_d [7:0] pc_a [15:0] figure 1. pio read cycle timing parameters (guaranteed over operating temperature range) parameter symbol min typ max units iow / ior strobe width t stw 100 ns iow / ior rising to iow / ior falling t bwdn 80 ns write data setup to iow rising t wdsu 10 ns iow falling to valid read data t rddv 40 ns aen setup to iow / ior falling t aesu 10 ns aen hold from iow / ior rising t aehd 0ns adr setup to iow / ior falling t adsu 10 ns adr hold from iow / ior rising t adhd 0ns dack rising to iow / ior falling t dksu 20 ns data hold from ior rising t dhd1 2ns data hold from iow rising t dhd2 15 ns drq hold from iow / ior falling t drhd 25 ns dack hold from iow / ior rising t dkhd 10 ns data [sdi] input setup time to sclk* t s 15 ns data [sdi] input hold time from sclk* t h 10 ns frame sync [sdfs] hi pulse width* t fsw 80 ns c lock [sclk] to frame sync [sdfs] propagation delay *t pd 15 ns clock [sclk] to output data [sdo] valid* t dv 15 ns reset pulse width t rpwl 100 ns bclk hi pulse width t dbh 25 ns bclk lo pulse width t dbl 25 ns bclk period t dbp 50 ns lrclk setup t dls 5ns sdata setup t dds 5ns sdata hold t ddh 5ns notes *guaranteed, not tested. ?(all isa pins midi_out iol = 24 ma. refer to pin description for individual output drive levels. specifications subject to change without notice. t dksu t dkhd t aesu t aehd t stw t dhd2 t adsu t adhd drq (0, 1, 3) (0, 1, 3) aen pc_d [7:0] pc_a [15:0] t wdsu figure 2. pio write cycle clock specifications* parameter min typ max units input clock frequency 14.31818 mhz recommended clock duty cycle 25 50 75 % power-up initialization time 500 ms
AD1817A C7C rev. 0 preliminary technical data t dkhd t dksu aen iow t drhd t aehd t aesu t stw t dhd2 drq (0, 1, 3) dack (0, 1, 3) pc_d [7:0] t wdsu figure 5. dma write cycle t rpwl figure 6. reset pulse width t dkhd t dksu aen t drhd t aehd t aesu t stw t rddv t dhd1 drq (0, 1, 3) (0, 1, 3) pc_d [7:0] figure 3. dma read cycle ior/iow data [7:0] t bwdn byte n n + 1 n + 2 n + 3 figure 4. codec transfers
AD1817A C8C rev. 0 preliminary technical data environmental conditions ambient temperature rating: t amb =t case C (pd q ca ) t case = case temperature in c pd = power dissipation in w q ca = thermal resistance (case-to-ambient) q ja = thermal resistance (junction-to-ambient) q jc = thermal resistance (junction-to-case) package u ja u jc u ca pqfp 77 c/w 7 c/w 70 c/w ordering guide temperature package package model range description option* AD1817Ajs 0 c to +70 c 100-lead pqfp s-100 *s = plastic quad flatpack. absolute maximum ratings* parameter min max units power supplies digital (v dd ) C0.3 6.0 v analog (v cc ) C0.3 6.0 v input current (except supply pins) 10.0 ma analog input voltage (signal pins) C0.3 v cc + 0.3 v digital input voltage (signal pins) C0.3 v dd + 0.3 v ambient temperature (operating) 0 +70 c storage temperature C65 +150 c *stresses greater than those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the AD1817A features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. the AD1817A latchup immunity has been demonstrated at 3 +100 ma/C80 ma on all pins when tested to industry standard/jedec methods. warning! esd sensitive device
AD1817A C9C rev. 0 preliminary technical data pin configuration 100-lead pqfp (s-100) 5 4 3 2 7 6 9 8 1 11 10 16 15 14 13 18 17 20 19 22 21 12 24 23 26 25 28 27 30 29 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 31 37 76 77 78 79 74 75 72 73 70 71 80 65 66 67 68 63 64 61 62 59 60 69 57 58 55 56 53 54 51 52 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 pin 1 identifier top view (not to scale) gnd v dd pc_d (0) gnd v dd gnd pc_d (1) pc_d (2) pc_d (3) pc_d (4) pc_d (5) pc_d (6) pc_d (7) gnda v ref v ref_x r_filt l_filt r_aafilt l_aafilt r_line l_line mic r_synth l_synth r_cd l_cd a_2 a_1 irq (5) irq (7) irq (9)/irq (14) irq (10)/irq (4) irq (11)/irq (9)/irq (4) irq (15)/irq (11) drq (0) drq (1) drq (3) v dd gnd xctl1/ring/ld_sel1 xctl0/pnprst midi _out midi_in gnd xtalo xtali v dd (0) (1) (2) ee_clk ee_data b_x b_y a_x a_y b_1 b_2 nc/vol_up nc/vol_dn mono_out r_out l_out AD1817A gnd pc_a (15) pc_a (14) pc_a (13) pc_a (12) pc_a (11) pc_a (10) pc_a (9) pc_a (8) pc_a (7) pc_a (6) pc_a (5) pc_a (4) pc_a (3) pc_a (2) pc_a (1) pc_a (0) aen v dd gnd reset nc nc nc = no connect nc/ld_irq/vol_dn/gnd nc/ld_dack/vol_dn/gnd nc/mdm_sel/irq (12)/irq (13) ld_sel/nc nc/irq (3)/irq (9) nc/mdm_irq a_vol nc v cc mono_in nc/ld_drq/vol_up
AD1817A C10C rev. 0 preliminary technical data pin function descriptions analog signals pin name pqfp i/o description mic 44 i microphone input. the mic input may be either line-level or C20 db from line-level (the difference being made up through a software controlled 20 db gain block). the mono mic input may be sent to the left and right channel of the adc for conversion, or gained/ attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with left and right line out before the master volume stage. l_line 42 i left line-level input. the left line-level input may be: sent to the left channel of the adc; gained/attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with left line out. r_line 41 i right line-level input. the right line-level input may be: sent to the right channel of the adc; gained/attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with right line out. l_synth 46 i left synthesizer input. the left midi upgrade line-level input may be: sent to the left channel of the adc; gained/attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with left line out. r_synth 45 i right synthesizer input. the right midi upgrade line-level input may be: sent to the right channel of the adc; gained/attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with right line out. l_cd 48 i left cd line-level input. the left cd line-level input may be: sent to the left channel of the adc; gained/attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with left line out. r_cd 47 i right cd line-level input. the right cd line-level input may be: sent to the right chan- nel of the adc; gained/attenuated from +12 db to C34.5 db in 1.5 db steps and then summed with right line out. l_out 30 o left output. left channel line-level post-mixed output. the final stage passes through the master volume block and may be attenuated 0 db to C45 db in 1.5 db steps. r_out 29 o right output. right channel line-level post-mixed output. the final stage passes through the master volume block and may be attenuated 0 db to C45 db in 1.5 db steps. phone_in 43 i phone input. line-level input from a daa/modem chipset. phone_out 28 o phone output. line-level output from a daa/modem chipset.
AD1817A C11C rev. 0 preliminary technical data parallel interface (all outputs are 24 ma drivers) pin name pqfp i/o description pc_d[7:0] 85C88, 91C94 i/o bidirectional isa bus pc data, 24 ma drive. connects the AD1817A to the low byte data on the bus. irq(x)* 75C81, 83 o host interrupt request, 24 ma drive. irq (3)/irq (9), irq(5), irq(7), irq(9)/irq (14), irq(10)/irq(4), irq(11)/irq (9)/irq (4), irq(12)/ irq(13), irq(15)/irq (11). active hi signals indicating a pending interrupt. drq(x) 72C74 o dma request, 24 ma drive. drq(0), drq(1), drq(3). active hi signals indicating a request for dma bus operation. pc_a[15:0] 4C19 i isa bus pc address. connects the AD1817A to the isa bus address lines. aen 20 i address enable. low signal indicates a pio transfer. dack (x) 59C61 i dma acknowledge. dack(0), dack(1), dack(3). active lo signal indicating that a dma operation can begin. ior 22 i i/o read. active lo signal indicates a read operation. iow 21 i i/o write. active hi signal indicates a write operation. reset 25 i reset. active hi. game port pin name pqfp i/o description a_1 50 i game port a, button #1. a_2 49 i game port a, button #2. a_x 54 i game port a, x-axis. a_y 53 i game port a, y-axis. b_1 52 i game port b, button #1. b_2 51 i game port b, button #2. b_x 56 i game port b, x-axis. b_y 55 i game port b, y-axis. midi interface signal (24 ma drivers) pin name pqfp i/o description midi_in 66 i rxd midi input. this pin is typically connected to pin 15 of the game port connector. midi_out 67 o txd midi output. this pin is typically connected to pin 12 of the game port connector.
AD1817A C12C rev. 0 preliminary technical data miscellaneous analog pins pin name pqfp i/o description v ref_x 36 o voltage reference. nominal 2.25 volt reference available for dc-cou- pling and level-shifting. v ref_x should not be used to sink or source sig- nal current. v ref 35 i voltage reference filter. voltage reference filter point for external by- passing only. l_filt 38 i left channel filter. requires a 1.0 m f to analog ground for proper operation. r_filt 37 i right channel filter. requires a 1.0 m f to analog ground for proper operation. l_aafilt 40 i left channel antialias filter. this pin requires a 270 pf npo capacitor to analog ground for proper operation. r_aafilt 39 i right channel antialias filter. this pin requires a 270 pf npo capacitor to analog ground for proper operation. crystal pin pin name pqfp i/o description xtalo 64 o 14.31818 mhz crystal output. if no crystal is present leave xtalo unconnected. xtali 63 i 14.31818 mhz clock. when using a crystal as a clock source, the crys- tal should be connected between the xtali and xtalo pins. clock input may be driven into xtali in place of a crystal. when using an external clock, v ih must be 2.4 v rather than the v ih of 2.0 v specified for all other digital inputs. external logical devices pin name pqfp i/o description ld_irq* 100 i logical device irq. ld_dack* 99 o logical device dack. ld_drq* 98 i logical device drq. ld_sel * 97 o logical device select. mdm_sel * 83 o modem chip set select. mdm_irq * 82 i modem chip set irq. ld_sel1 * 69 o logical device (1) select. pnprst* 68 o plug and play reset.
AD1817A C13C rev. 0 preliminary technical data hardware volume pins pin name pqfp i/o description vol_dn * 2, 99, 100 i master volume down. modifies output level on pins l_out and r_out. contains a 10 k w internal pull-up resistor. when asserted lo, decreases master volume by 1.5 db/sec. must be asserted at least 25 ms to be recognized. when asserted simultaneously with vol_up, output is muted. output level modifica- tion reflected in indirect register 0 29. vol_up* 1, 98 i master volume up. modifies output level on pins l_out and r_out. con- tains a 10 k w internal pull-up resistor. when asserted lo, increases master volume by 1.5 db/sec. must be asserted at least 25 ms to be recognized. when asserted simultaneously with vol_up, output is muted. output level modifica- tion reflected in indirect register 0 29. a_vol 31 i analog volume control input. control pins pin name pqfp i/o description xctl0* 68 o external control 0. the state of this pin (ttl hi or lo) is reflected in codec indexed register. this pin is an open drain driver. xctl1* 69 o external control 1. the state of this pin (ttl hi or lo) is reflected in codec indexed register. open drain, 8 ma active 0.5 ma pull-up resistor. ring* 69 i ring indicator. used to accept the ring indicator flag from the daa. power supplies pin name pqfp i/o description v cc 33 i analog supply voltage (+5 v). gnda 34 i analog ground. v dd 23, 62, 71, i digital supply voltage (+5 v). 89, 95 gnd 3*, 24, 65, i digital ground. 70, 84, 90, 96, 99*, 100* nc 26, 27, 32 no connect. optional eeprom pins pin name pqfp i/o description ee_clk 58 o eeprom clock. ee_data 57 i eeprom data. *the position of this pin location/function is dependent on the eeprom data.
AD1817A C14C rev. 0 preliminary technical data up to four channels of digital data can be summed together and presented to the stereo dac for conversion. each digital channel pair can contain information encoded at a different sample rate. digital-to-analog datapath the internally generated music synthesizer data, and pcm data received from the isa interface, passes through an attenuation mute stage. the attenuator allows independent control over each digital channel, which can be attenuated from 0 db to C94.5 db in 1.5 db steps before being summed together and passed to the dac, or the channel may be muted entirely. analog outputs the analog output of the dac can be summed with any of the analog input signals. the summed analog signal enters the master volume stage where each channel l_out, r_out and phone_out may be attenuated from 0 db to C46.5 db in 1.5 db steps or muted. digital data types the codec can process 16-bit twos-complement pcm linear digital data, 8-bit unsigned magnitude pcm linear data and 8-bit m -law or a-law companded digital data as specified in the control registers. the AD1817A also supports adpcm en- coded in the creative soundblaster adpcm formats. acpi power-down modes the AD1817A complies with the four device power states de- fined in the acpi audio device class specification. the device power states support the on now architecture, which works in conjunction with future operating systems from microsoft. in the d0 state, the AD1817A is fully running. d1 powers down the digital codec converters, and the opl3-compatible music synthesizer, lowering power consumption. the d2 state powers down the analog and digital codec converters, and the opl3- compatible music synthesizer. the d2 state keeps the analog mixer alive. d3 places the AD1817A into the lowest power state in which all device context is lost. host-based echo cancellation support the AD1817A supports time correlated i/o data format by pre- senting mic data on the left channel of the adc and the mono summation of left and right out on the right channel. the adc sample rates are independent of the dac sample rate allow- ing the AD1817A to support adc time correlated i/o data at 8 khz and dac data at any other sample rate in the range of 4 khz to 55.2 khz simultaneously. telephony support the AD1817A contains a phone_in input and a phone_out output. these pins are supplied so the AD1817A may be connected to a modem chip set, a telephone handset or down-line phone. wss and soundblaster compatibility windows sound system software audio compatibility is built into the AD1817A. soundblaster emulation is provided through the soundblaster register set and the internal music synthesizer. soundblaster pro version 2.01 functions are supported, including record and cre- ative soundblaster adpcm. virtually all applications developed for soundblaster, windows sound system, adlib and midi mpu-401 platforms run on the AD1817A soundport ? controller. follow the same development process for the controller as you would for these other devices. host interface the AD1817A contains all necessary isa bus interface logic on chip. this logic includes address decoding for all onboard resources, control and signal interpretation, dma selection and control logic, irq selection and control logic, and all interface configuration logic. the AD1817A supports a type f dma request/grant archi- tecture for transferring data with the isa bus through the 8-bit interface. the AD1817A also supports dack preemption. pro- grammed i/o (pio) mode is also supported for control register accesses and for applications lacking dma control. the AD1817A includes dual dma count registers for full-duplex operation enabling simultaneous capture and playback on sepa- rate dma channels. codec functional description the AD1817As full-duplex stereo codec supports business a udio and multimedia applications. the codec includes stereo audio convert ers, complete on-chip filtering, mpc level-2 and level-3 compliant analog mixing, programmable gain and at- tenuation, a variable sample rate converter, extensive digital mixing and fifos buffering the plug and play isa bus interface. analog inputs the codec contains a stereo pair of ad analog-to-digital con- verters (adc). inputs to the adc can be selected from the fol- lowing analog signals: mono (phone_in), mono microphone (mic), stereo line (line), external stereo synthesizer (synth), stereo cd rom (cd), and post-mixed stereo or mono line output (out). analog mixing mic, synth and cd can be mixed in the analog domain with the stereo line out from the sd digital-to-analog converters (dac). each channel of the stereo analog inputs can be indepen- dently gained or attenuated from +12 db to C34.5 db in 1.5 db steps. the summing path for the mono inputs (mic, and phone_in to line out) duplicates mono channel data on both the left and right line out, which can also be gained or at- tenuated from +12 db to C34.5 db in 1.5 db steps for mic. the left and right mono summing signals are always identical being gained or attenuated equally. analog-to-digital datapath the selector sends left and right channel information to the pro- grammable gain amplifier (pga). the pga following the selec- tor allows independent gain for each channel entering the adc from 0 db to 22.5 db in 1.5 db steps. for supporting time correlated i/o echo cancellation, the adc is capable of sampling microphone data on the left channel and the mono summation of left and right out on the right channel. the codec can operate in either a global stereo mode or a glo- bal mono mode with left channel inputs appearing at both chan- nels of the 16-bit sd converters. data can be sampled at the programmed sampling frequency (from 4 khz to 55.2 khz with 1 hz resolution). digital mixing and sample rates the audio adc sample rate and the audio dac sample rates are completely independent. the AD1817A includes a variable sample rate converter that lets the codec instantaneously change and process sample rates from 4 khz to 55.2 khz with a resolution of 1 hz. the in-band integrated noise and distor- tion artifacts introduced by rate conversions are below C90 db.
AD1817A C15C rev. 0 preliminary technical data the AD1817A contains soundblaster (compatible) and sound system logical devices. you may find the following related development kits useful when developing AD1817A applications. developer kit for soundblaster series , 2nd ed. ? 1993, creative labs, inc., 1901 mccarthy blvd., milpitas, ca 95035 microsoft windows sound system driver development kit ( cd ), version 2.0, ? 1993, microsoft corp., one microsoft way, redmond, wa 98052 the following reference texts can serve as additional sources of information on developing applications that run on the AD1817A. s. de furia & j. scacciaferro, the midi implementation book , (? 1986, third earth, pompton lake) c. petzold, programming windows: the microsoft guide to writ- ing applications for windows 3.1 , 3rd. ed., (? 1992, microsoft press, redmond) k. pohlmann, principles of digital audio , (? 1989, sams, indianapolis) a. stolz, the soundblaster book , (? 1993, abacaus, grand rapids) j. strawn, digital audio engineering , an anthology , (? 1985, kaufmann, los altos) yamamoto, midi guidebook , 4th. ed., (? 1987, 1989, roland corp.) multimedia pc capabilities the AD1817A is mpc-2 and mpc-3 compliant. this compli- ance is achieved through the AD1817As flexible mixer and the embedded chip resources. music synthesis the AD1817A includes an embedded music synthesizer that emulates industry standard opl3 fm synthesizer chips and delivers 20 voice polyphony. the internal synthesizer generates digital music data at 22.05 khz and is summed into the dacs digital data stream prior to conversion. to sum synthesizer data with the adc output, the adc must be programmed for a 22.05 khz sample rate. the synthesizer is a hardware implementation of eusynth-1+ code that was developed by euphonics, a research and devel- opment company that specializes in audio processing and electronic music synthesis. midi the primary interface for communicating midi data to and from the host pc is the compatible mpu-401 interface that op- erates in uart mode. the mpu-401 interface has two built-in fifos: a 64 byte receive fifo and a 16 byte transmit fifo. game port an ibm-compatible game port interface is provided on chip. the game port supports up to two joysticks via a 15-pin d-sub connector. joystick registers supporting the microsoft direct input standard are included as part of the register map. the AD1817A may be programmed to automatically sample the game port and save the value in the joystick position data reg- ister. when enabled, this feature saves up to 10% cpu mips by off-loading the host from constantly polling the joystick port. volume control the registers that control the master volume output stage are accessible through the parallel port. master volume output can also be controlled through a 2-pin hardware interface. one pin is used to increase the gain, the other pin attenuates the output and both pins together entirely mute the output. once muted, any further activity of these pins will unmute the AD1817As output. the AD1817A also contains an analog input for connecting to pcs with front panel potentiometers used to control the volume. the digital volume control, analog volume control and the software vol- ume control may all be used in the same system. plug and play configuration the AD1817A is fully plug and play configurable. for mother- board applications, the built-in plug and play protocol can be disabled with a software key providing a back door for the bios to configure the AD1817As logical devices. for information on the plug and play mode configuration process, see the plug and play isa specification version 1.0a (may 5, 1994) . all the AD1817As logical devices comply with plug and play resource definitions described in the specification. the AD1817A may alternatively be configured using an op tional plug and play resource rom. when the eeprom is present, some additional AD1817A muxed-pin features become avail- able. for example, pins that control an external modem logical device are muxed with the dsp serial port. some of these pin option combinations are mutually exclusive (see appendix a for more information). references the AD1817A also complies with the following related specifi- cations; they can be used as an additional reference to AD1817A operations beyond the material in this data sheet. plug and play isa specification, version 1.0a , ? 1993, 1994, intel corp. & microsoft corp., one microsoft way, redmond, wa 98052 multimedia pc level 2 specification , ? 1993, multimedia pc marketing council, 1730 m st. nw, suite 707, washington, dc 20036 midi 1.0 detailed specification & standard midi files 1.0, ? 1994, midi manufacturers association, po box 3173 la habra, ca 90632-3173 recommendation g.711-pulse code modulation (pcm) of voice frequencies ( m -law & a-law companding), the international telegraph and telephone consultative committee ix plenary assembly blue book, volume iii - fascicle iii.4, general aspects of digital transmission systems; terminal equipments, recommendations g.700 - g.795, (geneva, 1988), isbn 92-61-03341-5 ima digital audio doc-pac (ima-adpcm), ? 1992, inter- active multimedia association, 48 maryland avenue, suite 202, annapolis, md 21401-8011 e u p honics eusynth-1+
AD1817A C16C rev. 0 preliminary technical data isa interface AD1817A chip registers table i, chip register diagram, details the AD1817A direct register set available from the isa bus. prior to any accesses by th e host, the pc i/o addressable ports must be configured using the plug and play resources. table i. chip register diagram register type-register name register pc i/o address plug and play address 0x279 write_data 0xa79 read_data relocatable in range 0x203 C 0x3ff sound system codec codec registers 0x(ss base+0 C ss base+15) relocatable in range 0x100 C 0x3ff see table v soundblaster pro music0: address (w), status (r) 0x(sb base) relocatable in range 0x010 C 0x3f0 music0: data (w) 0x(sb base+1) music1: address (w) 0x(sb base+2) music1: data (w) 0x(sb base+3) mixer address (w) 0x(sb base+4) mixer data (w) 0x(sb base+5) reset (w) 0x(sb base+6 or 7) music0: address (w) 0x(sb base+8) music0: data (w) 0x(sb base+9) input data (r) 0x(sb base+a or +b) status (r), output data (w) 0x(sb base+c or +d) status (r) 0x(sb base+e or +f) music0: address (w), status (r) 0x(adlib base) relocatable in range 0x100 C 0x3f8 music0: data (w) 0x(adlib base+1) music1: address (w) 0x(adlib base+2) music1: data (w) 0x(adlib base+3) midi mpu-401 midi data (r/w) 0x(midi base) relocatable in range 0x100 C 0x3f8 midi status (r), command (w) 0x(midi base+1) game port game port i/o 0x(game base +0 to game base +7) relocatable in range 0x100 C 0x3f8 AD1817A plug and play device configuration registers the AD1817A may be configured according to the intel/microsoft plug and play specification using the internal rom. alterna- tively, the pnp configuration sequence may be bypassed using the alternate key sequence described in appendix a. the operating system configures/reconfigures AD1817A plug and play logical devices after system boot. there are no boot-devices among the plug and play logical devices in the AD1817A. non-plug and play bios systems configure the AD1817As logical devices after boot using drivers. depending on bios implementations, plug and play bios systems may configure the AD1817As logical devices before post or after boot. see the plug and play isa specification version 1.0a for more information on configura- tion control. to complete this configuration, the system reads resource data from the AD1817As on-chip resource rom and from any other plug and play cards in the system, and then arbitrates the configuration of system resources with a heuristic algorit hm. the algorithm maximizes the number of active devices and the acceptability of their configurations. the system considers all plug and play logical device resource data at the same time and makes a conflict-free assignment of re - sources to the devices. if the system cannot assign a conflict-free resource to a device, the system does not configure or acti vate the device. all configured devices are activated. the systems plug and play support selects all necessary drivers, starts them and maintains a list of system resources allocate d to each logical device. as an option, system resources can be reassigned at runtime with a plug and play resource manager. the cus - tom setup created using the manager can be saved and used automatically on subsequent system boots.
AD1817A C17C rev. 0 preliminary technical data plug and play device ids (embedded in the logical devices resource data) provide the system with the information required to f ind and load the correct device drivers. one custom driver, the AD1817A sound system driver from analog devices, is required for co r- rect operation. in the other cases (midi, game port), the system can use generic drivers. table ii lists the AD1817As logical devices and compatible plug and play device drivers. table ii. logical devices and compatible plug and play device drivers logical device number emulated device compatible (device id) device id 0 sound system ads7180 1 midi mpu401 compatible pnpb006 ads7181 2 game/joystick port pnpb02f ads7182 the configuration process for the logical devices on the AD1817A is described in the plug and play isa specification version 1.0a (may 5, 1994 ). the specification describes how to transfer the logical devices from their start-up wait for key state to the config state and how to assign i/o ranges, interrupt channels and dma channels. see appendix a for an example setup program and spe- cific plug and play resource data. table iii describes in detail the i/o port address descriptors, dma channels, interrupts for the functions required for the AD1817A logical device groups. table iii. logical device configuration ldn pnp function description 0 i/o port address descriptor (0x60-0x61) the soundblaster pro address range is from 0x100 to 0x3f0. the typical address is 0x220. the range is 16-bytes long and must be aligned to a 16-byte memory boundary. 0 i/o port address descriptor (0x62-0x63) the adlib address range is from 0x100 to 0x3f8. the typical address is 0x388. the range is 4-bytes long and must be aligned to an 8-byte memory boundary. 0 i/o port address descriptor (0x64-0x65) the codec address range is from 0x100 to 0x3f8. the range is 16-bytes long and must be aligned to a 16-byte memory boundary. 0 interrupt request level select (0x70-0x71) this irq is shared between the sb pro device and the codec. these devices require one of the following irq channels: 5, 7, 9, 11, 12 or 15. typically, the irq is set to 5 or 7 for this device. 0 dma playback channel select (0x74) this 8-bit channel is shared between the sb pro device and the codec for playback. these devices require one of the following dma chan- nels: 0, 1, 3. typically, dma channel 1 is set. 0 dma capture channel select (0x75) this the dma channel used for capturing codec data. the codec op- erates in single-channel mode if a separate dma channel for capture and playback is not assigned. the following dma channels may be programmed: 0, 1, 3. dma channel 4 indicates single-channel mode. 1 i/o port address descriptor (0x60-0x61) the mpu-401 compatible device address range is 0x100 to 0x3fe. typical configurations use 0x330. the range is 2-bytes long and must be aligned to a 2-byte memory boundary. 1 interrupt request level select (0x70-0x71) the midi device requires one of the following irq channels: 5, 7, 9, 11, 12 or 15. 2 i/o port address descriptor (0x60-0x61) the game port address range is from 0x100 to 0x3f8. the typical address is 0x200. the range is 8-bytes long and must be aligned to an 8-byte memory boundary. note dma channel 4 indicates single-channel mode.
AD1817A C18C rev. 0 preliminary technical data sound system direct registers the AD1817A has a set of 16 programmable sound system direct registers and 36 indirect registers. this section describes all th e AD1817A registers and gives their address, name and initialization state/reset value. following each register table is a list ( in ascend- ing order) of the full register name, its usage and its type: (ro) read only, (wo) write only, (stky) sticky, (rw) read write a nd reserved (res). table iv is a map of the AD1817A direct registers. table iv. sound system direct registers direct address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ssbase + 0 crdy vbl inadr[5:0] ssbase + 1 pi ci ti vi res ri res si ssbase + 2 indirect ss data [7:0] ssbase + 3 indirect ss data [15:8] ssbase + 4 res pur cor orr [1:0] orl [1:0] ssbase + 5 pfh pdr plr pul cfh cdr clr cul ssbase + 6 pio playback/capture [7:0] ssbase + 7 reserved ssbase + 8 trd daz pfmt [1:0] pc/l pst pio pen ssbase +9 res cfmt [1:0] pc/l cst cio cen ssbase + 10 res adpn dpdn susp rd_mode ssbase + 11 reserved ssbase + 12 reserved ssbase + 13 reserved ssbase + 14 reserved ssbase + 15 reserved [base+0] chip status/indirect address 76543210 crdy vbl inadr[5:0] reset = [0x00] inadr [5:0] (rw) indirect a ddress for sound system (ss). these bits are used to access the indirect registers shown in table viii. all registers data must be written in pairs, low byte followed by high byte, by loading the indirect ss data registers, (base +2) and (base +3). vbl volume button location. when using an eeprom to configure the pnp state of the AD1817A, this bit determines whether pqfp pins 1 and 2 are used for vol_up and vol_dn . 0 no function 1 vol_up and vol_dn crdy (ro) AD1817A ready. the AD1817A asserts this bit when AD1817A can accept data. 0 AD1817A not ready 1 AD1817A ready [base+1] interrupt status 76543210 pi ci ti vi res ri res si reset = [0x00] si (ro) soundblaster generated interrupt. 0 no interrupt 1 soundblaster interrupt pending ri (rw) ring interrupt (sticky, write 0 to clear). 0 no interrupt 1 an interrupt is pending due to a hardware ring pin being asserted vi (rw) volume interrupt (sticky, write 0 to clear). 0 no interrupt 1 an interrupt is pending due to hardware volume button being pressed ti (rw) timer interrupt. this bit indicates there is an interrupt pending from the timer count registers. (sticky, write 0 to clear). 0 no interrupt 1 interrupt is pending from the timer count register
AD1817A C19C rev. 0 preliminary technical data ci (rw) capture interrupt. this bit indicates that there is an interrupt pending from the capture dma count regis- ter. (sticky, write 0 to clear). 0 no interrupt 1 interrupt is pending from the capture dma count register pi (rw) playback interrupt. this bit indicates that there is an interrupt pending from the playback dma count register. (sticky, write 0 to clear). 0 no interrupt 1 interrupt is pending from the playback dma count register [base+2] indirect ss data low byte 76543210 indirect ss data [7:0] reset = [0xxx] [base+3] indirect ss data high byte 76543210 indirect ss data [15:8] reset = [0xxx] indirect ss indirect sound system data. data in this register is written to the sound system indirect register specified by the data [15:0] address contained in indar [5:0], sound system direct register [base +0]. data is written when the indirect ss data high byte value is loaded. [base+4] pio debug 76543210 res pur cor orr[1:0] orl[1:0] reset = [0x00] all bits in this register are sticky until any write that clears all bits to 0. orl/orr (ro) overrange left/right detect. these bits record the largest output magnitude on the adc right and left [1:0] channels and are cleared to 00 after any write to this register. the peak amplitude as recorded by these bits is sticky, i.e., the largest output magnitude recorded by these bits will persist until these bits are explicitly cleared. they are also cleared by powering down the chip. orl/orr over/under range detection 00 less than ? db underrange 01 between ? db and 0 db underrange 10 between 0 db and 1 db overrange 11 greater than 1 db overrange cor (ro) capture over run. the codec sets (1) this bit when capture data is not read within one sample period after the capture fifo fills. when cor is set, the fifo is full and the codec discards any new data generated. the codec clears this bit immediately after a 4 byte capture sample is read. pur (ro) playback under run. the codec sets (1) this bit when playback data is not written within one sample pe- riod after the playback fifo empties. the codec clears (0) this bit immediately after a 4 byte playback sample is written. when pur is set, the playback channel has run out of data and either plays back a mid-scale value or repeats the last sample. [base+5] pio status 76543210 pfh pdr plr pul cfh cdr clr cul reset = [0x00] cul (ro) capture upper/lower sample. this bit indicates whether the pio capture data ready is for the upper or lower byte of the channel. 0 lower byte ready 1 upper byte ready or any 8-bit mode clr (ro) capture left/right sample. this bit indicates whether the pio capture data waiting is for the left channel adc or the right channel adc. 0 right channel 1 left channel or mono
AD1817A C20C rev. 0 preliminary technical data cdr (ro) c apture data ready. the pio capture data register contains data ready for reading by the host. this bit should be used only when direct programmed i/o data transfers are desired (fifo has at least 4 bytes before full). 0 adc is stale. do not reread the information 1 adc data is fresh. ready for next host data read cfh (ro) capture fifo half full. (fifo has at least 32 bytes before full.) pul (ro) playback upper/lower sample. this bit indicates whether the pio playback data needed is for the upper or lower byte of the channel. 0 lower byte needed 1 upper byte needed or any 8-bit mode plr (ro) playback left/right sample. this bit indicates whether the pio playback data needed is or the left channel dac or the right channel dac. 0 right channel needed 1 left channel or mono pdr (ro) playback data ready. the pio playback data register is ready for more data. this bit should only be used when direct programmed i/o data transfers are desired (fifo can take at least 4 bytes). 0 dac data is still valid. do not overwrite 1 dac data is stale. ready for next host data write value pfh (ro) playback fifo half empty. fifo can take at least 32-bytes, 8 groups of 4-bytes. [base+6] pio data 76543210 pio playback/capture [7:0] reset = [0x00] pio playback/ the programmed i/o (pio) data registers for capture and playback are mapped to the same address. writes capture [7:0] send data to the playback register and reads will receive data from the capture register. reading this register will increment the capture byte state machine so that the following read will be from the next appropriate byte in the sample. the exact byte may be determined by reading the pio status register. once all relevant bytes have been read, the state machine will stay pointed to the last byte of the sample until a new sample is received. writing data to this register will increment the playback byte tracking state machine so that the following write will be to the correct byte of the sample. once all by tes have been written, subsequent byte writes will be ignored. the state machine is reset when the current sample is transferred. note: all writes to the fifo must contain 4 bytes of data. * 1 sample of 16-bit stereo * 2 samples of 16-bit mono * 2 samples of 8-bit stereo (linear pcm, m -law pcm, a-law pcm) * 4 samples of 8-bit mono (linear pcm, m -law pcm, a-law pcm) [base+7] reserved 76543210 reserved [7:0] reset = [0xxx] [base+8] playback configuration 76543210 trd daz pfmt [1:0] pc/l pst pio pen reset = [0x00] pen (rw) playback enable. this bit enables or disables programmed i/o data playback. 0 disable 1 enable pio (rw) programmed input/output. this bit determines whether the playback data is transferred via dma or pio. 0 dma transfers only 1 pio transfers only pst (rw) playback stereo/mono select. these bits select stereo or mono formatting for the input audio data streams. in stereo, the codec alternates samples between channels to provide left and right channel input. for mono, the codec cap tures samples on the left channel stereo. 0 mono 1 stereo
AD1817A C21C rev. 0 preliminary technical data pc/l (rw) playback companded/linear select. this bit selects between a linear digital representation of the audio signal or a nonlinear companded format for all output data. the type of linear pcm or the type of companded format is defined by pfmt [1:0]. 0 linear pcm 1 companded pfmt [1:0] (rw) playback format. use these bits to select the playback data format for output data according to table vi and figure 15. daz (rw) dac zero. this bit forces the dac to zero. 0 repeat last sample 1 force dac to zero trd (rw) transfer request disable. this bit enables or disables codec dma transfers during a codec interrupt (indicated by the ss codec status registers int bit being set [1]). this assumes codec dma transfers were enabled and the pen or cen bits are set. 0 transfer request enable 1 transfer request disable after setting format bits, sample data into the AD1817A must be ordered according to figure 7, table v.
AD1817A C22C rev. 0 preliminary technical data pc_d [7:0] t bwdn byte n n + 1 n + 2 n + 3 figure 7. codec transfers table v. codec transfers byte 3 byte 2 byte 1 byte 0 st fmt1 fmt0 c/l format msb lsb msb lsb msb lsb msb lsb 0 000 mono sample 3 sample 2 sample 1 sample 0 linear, 8-bit 8 bits 8 bits 8 bits 8 bits unsigned left channel left channel left channel left channel 1 000 stereo sample 1 sample 1 sample 0 sample 0 linear, 8-bit 8 bits 8 bits 8 bits 8 bits unsigned right channel left channel right channel left channel 0 001 mono sample 3 sample 2 sample 1 sample 0 m -law, 8-bit 8 bits 8 bits 8 bits 8 bits companded left channel left channel left channel left channel 1 001 stereo sample 1 sample 1 sample 0 sample 0 m -law, 8-bit 8 bits 8 bits 8 bits 8 bits companded right channel left channel right channel left channel 0 010 mono sample 1 sample 1 sample 0 sample 0 linear 16-bit upper 8 bits lower 8 bits upper 8 bits lower 8 bits little endian left channel left channel left channel left channel 1 010 stereo sample 0 sample 0 sample 0 sample 0 linear 16-bit upper 8 bits lower 8 bits upper 8 bits lower 8 bits little endian right channel right channel left channel left channel 0 011 mono sample 3 sample 2 sample 1 sample 0 a-law, 8-bit 8 bits 8 bits 8 bits 8 bits companded left channel left channel left channel left channel 1 011 stereo sample 1 sample 1 sample 0 sample 0 a-law, 8-bit 8 bits 8 bits 8 bits 8 bits companded right channel left channel right channel left channel 0 100 reserved 1 100 reserved 0 101 reserved 1 101 reserved 0 110 mono sample 1 sample 1 sample 0 sample 0 linear, 16-bit lower 8 bits upper 8 bits lower 8 bits upper 8 bits big endian left channel left channel left channel left channel 0 110 stereo sample 0 sample 0 sample 0 sample 0 linear, 16-bit lower 8 bits upper 8 bits lower 8 bits upper 8 bits big endian right+ channel left channel left channel left channel 0 111 reserved 1 111 reserved
AD1817A C23C rev. 0 preliminary technical data [base+9] capture configuration 76543210 res cfmt [1:0] cc/l cst cio cen reset = [0x00] cen (rw) capture enable. this bit enables or disables data capture. 0 disable 1 enable cio (rw) capture programmed i/o. this bit determines whether the capture data is transferred via dma or pio. 0 dma 1 pio cst (rw) capture stereo/mono select. this bit selects stereo or mono formatting for the input audio data streams. in stereo, the codec alternates samples between channels to provide left and right channel input. for mono, the codec captures samples on the left channel. 0 mono 1 stereo cc/l (rw) capture companded/linear select. this bit selects between a linear digital representation of the audio sig- nal or a nonlinear, companded format for all output data. the type of linear pcm or the type of companded format is defined by cfmt [1:0]. 0 linear pcm 1 companded cfmt [1:0] (rw) capture format. use these bits to select the format for capture data according to the following table v and figure 7. [base+10] acpi power-down control 76543210 res addn dpdn susp rd_mode reset = [0xxx] rd_mode read mode. enables readback of sound blaster and opl music synthesizer registers. susp suspend. setting this bit suspends sound blaster dma transfer. 0 disable 1 enable dpdn digital power-down. powers-down digital interface functions and internal opl music synthesizer. analog mixers remain active. apdn analog power-down. powers-down all analog function. digital interface remains active. [base+11] reserved 76543210 reserved reset = [0xxx] [base+13] reserved 76543210 reserved reset = [0xf0] [base+14] reserved 76543210 reserved reset = [0xff] jaxis [7:0] (ro) joystick axis low byte. note: axis to be read through this register is selected by the jsel bits in the control register. a write to this register start s a sam- pling cycle. [base+15] reserved 76543210 reserved reset = [0xff]
AD1817A C24C rev. 0 preliminary technical data sound system indirect registers writing indirect registers all indirect registers must be written in pairs: low byte followed by high byte. the indirect address register [ssbase+0] hol ds the address for a register pair, the indirect low data byte [ssbase+2] is used to write low data byte and the indirect high dat a byte [ssbase+3] is used to write the high data byte. the low data byte is held in the temporary register until the upper byte i s written. programming example write sample rate for voice playback at 11,000 hz (0x2af8) 1) write [ssbase+0] with 0x02 ; indirect register for voice playback sample rate 2) write [ssbase+2] with 0xf8 ; low byte of 16-bit sample rate register 3) write [ssbase+3] with 0x2a ; high byte of 16-bit sample rate register reading indirect registers all indirect registers can be individually read. the sound system indirect address register [ssbase+0] holds the address for a reg- ister pair, the indirect low data byte [ssbase+2] is used to read low data byte and indirect high data byte [ssbase+3] is used to read the high data byte. programming example read sample rate for voice playback set to 11,000 hz (0x2af8) 1) write [ssbase+0] with 0x02 ; indirect register for voice playback sample rate 2) read [ssbase+2] ; low byte of 16-bit sample rate register set to 0xf8 3) read [ssbase+3] ; high byte of 16-bit sample rate register set to 0x2a isr saves and restores for interrupt service routines, isrs, it is necessary to save and restore the indirect address and the low byte temporary data holding registers inside the isr. programming example save/restore during an isr beginning of isr: 1) read [ssbase+0] ; save indirect address register to tmp_ia 2) write [ssbase+0] with 0x00; ; indirect register for low byte temporary data 3) read [ssbase+2] ; save low byte temporary data to tmp_lbt 4) isr code ; isr routine 5) write [ssbase+2] with tmp_lbt ; restore low byte temporary data tmp_lbt 6) write [ssbase+0] with tmp_ia ; restore indirect address register to tmp_ia 7) return from interrupt ; return from isr
AD1817A C25C rev. 0 preliminary technical data table vi. indirect register map and reset/default states reset/ address register name default state 00 low byte tmp 0xxx 01 interrupt enable and external control 0x0102 02 voice playback sample rate 0x1f40 03 voice capture sample rate 0x1f40 04 voice attenuation 0x8080 05 fm attenuation 0xxxxx 06 reserved 0xxxxx 07 reserved 0x8080 08 playback base count 0x0000 09 playback current count 0x0000 10 capture base count 0x0000 11 capture current count 0x0000 12 timer base count 0x0000 13 timer current count 0x0000 14 master volume attenuation 0x8888 15 cd gain/attenuation 0x8888 16 synth gain/attenuation 0x8888 17 reserved 0xxxxx 18 reserved 0x8888 19 mic gain/attenuation 0xc888 20 adc source select and adc pga 0x0000 32 chip configuration 0x00f0 33 reserved 0xxxxx 34 reserved 0xxxxx 35 reserved 0xxxxx 36 reserved 0xxxxx 37 reserved 0x0000 38 reserved 0xac44 39 phone_out gain attenuation 0x8000 40 reserved 0x0000 41 hardware volume button modifier 0xxx1b 42 reserved 0x0000 43 reserved 0x0000 44 power_down and timer control 0x0000 45 version id 0x0000 46 reserved 0x0000
AD1817A C26C rev. 0 preliminary technical data table vii. sound system indirect registers (high byte) (low byte) address 7654321076543210 00 (0x00) res lbtd [7:0] 01 (0x01) pie cie tie vie res rie res sie res xc1 xc0 02 (0x02) vpsr [15.8] vpsr [7:0] 03 (0x03) vcsr [15:8] vcsr [7:0] 04 (0x04) lvm res lva [5:0] rvm res rva [5:0] 05 (0x05) lfmm res lfma [5:0] rfmm res rfma [5:0] 06 (0x06) res res 07 (0x07) ls0m res ls0a [5:0] rs0m res rs0a [5:0] 08 (0x08) pbc [15:8] pbc [7:0] 09 (0x09) pcc [15:8] pcc [7:0] 10 (0x0a) cbc [15:8] cbc [7:0] 11 (0x0b) ccc [15:8] ccc [7:0] 12 (0x0c) tbc [15:8] tbc [7:0] 13 (0x0d) tcc [15:8] tcc [7:0] 14 (0x0e) lmvm res lmva [4:0] rmvm res rmva [4:0] 15 (0x0f) lcdm res lcda [4:0] rcdm res rcda [4:0] 16 (0x10) lsym res lsya [4:0] rsym res rsya [4:0] 17 (0x11) lvdm res lvda [4:0] rvdm res rvda [4:0] 18 (0x12) res res 19 (0x13) mcm m20 res mca [4:0] pim res pia [3:0] res 20 (0x14) lagc las [2:0] lag [3:0] ragc ras [2:0] rag [3:0] 32 (0x20) wse cde res cnp res res 33 (0x21) res res 34 (0x22) res res 35 (0x23) res res 36 (0x24) res res 37 (0x25) res res 38 (0x26) res res 39 (0x27) res pom res poa [4:0] 40 (0x28) res res 41 (0x29 ) hvm insel hvmas hvatn [4:0] vmu vup vdn bm [4:0] 42 (0x2a) res res 43 (0x2b) res res 44 (0x2c) cpd res piw pir paa pda pdp ptb 3d pd3d gpsp res 45 (0x2d) ver [15:8] ver [7:0] 46 (0x2e) res res [00] indirect low byte tmp default = [0xxx] 7654321076543210 res lbtd [7:0] lbtd [7:0] low byte temporary data holding latch for register pair writes; written on any write to [ssbase + 2], read from [ssbase + 2] when the indirect address is 0x00. [01] interrupt enable and external control default = [0x0102] 76543210 7 6543210 pie cie tie vie res rie res sie res xc1 xc0 xc0 rw external control 0. the state of this bit is reflected on the xctl0 pin. this pin is also muxed with pclko. cof must be greater than 11 for pclko to be disabled, see ss [32]. xc1 rw external control 1. the state of this bit is reflected on the xctl1 pin. xctl1 may also be used for ring-in interrupt. sie rw soundblaster interrupt enable; 0 soundblaster interrupt disabled 1 soundblaster interrupt enabled rie rw ring interrupt enable; 0 ring interrupt disabled 1 ring interrupt enabled vie rw volume interrupt enable. if enabled, software increments/decrements button modifier via interrupt routine and pushing buttons only sets vup, vdn, vmu bits. it does not change the volume. 0 volume interrupt disabled 1 volume interrupt enabled
AD1817A C27C rev. 0 preliminary technical data tie rw timer interrupt enable; 0 timer interrupt disabled 1 timer interrupt enabled cie rw capture interrupt enable; 0 capture interrupt disabled 1 capture interrupt enabled pie rw playback interrupt enable; 0 playback interrupt disabled 1 playback interrupt enabled [02] voice playback sample rate default = [0x1f40] 765432107654321 vpsr [15:8] vpsr [7:0] vpsr [15:0] voice p layback sample rate. the sample rate can be programmed from 4 khz to 55.2 khz in 1 hertz increments. the default playback sample rate is 8 khz. [03] voice capture sample rate default = [0x1f40] 7654321076543210 vcsr [15:8] vcsr [7:0] vcsr [15:0] v oice capture sample rate. the sample rate can be programmed from 4 khz to 55.2 khz in 1 hertz increments. ig- nored if cnp bit in ss [32] = 0 in which case vpsr [15:0] controls c apture rate. the default capture sample rate is 8 khz. [04] voice attenuation default = [0x8080] 7654321076543210 lvm res lva [5:0] rvm res rva [5:0] rva [5:0] right voice attenuation for playback channel. the lsb represents C1.5 db, 000000 = 0 db and the range is 0 db to C94.5 db. rvm right voice mute. 0 = unmuted, 1 = muted. lva [5:0] left voice attenuation for playback channel. the lsb represents C1.5 db, 000000 = 0 db and the range is 0 db to C94.5 db lvm left voice mute. 0 = unmuted, 1 = muted. [05] fm attenuation default = [0x8080] 7654321076543210 lfmm res lfma [5:0] rfmm res rfma [5:0] rfma [5:0] right f music attenuation for the internal music synthesizer. the lsb represents ?.5 db, 000000 = 0 db and the range is 0 db to ?4.5 db. rfmm right f music mute. 0 = unmuted, 1 = muted. lfma [5:0] left f music attenuation for the internal music synthesizer. the lsb represents ?.5 db, 000000 = 0 db and the range is 0 db to ?4.5 db. lfmm left f music mute. 0 = unmuted, 1 = muted. [06] reserved default = [0xxxxx] 7654321076543210 res res [07] reserved default = [0xxxxx] 7654321076543210 res res
AD1817A C28C rev. 0 preliminary technical data [08] playback base count default = [0x0000] 7654321076543210 pbc [15:8] pbc [7:0] pbc [15:0] playback base count. this register is for loading the playback dma count. writing a value to this register also loads the same data into the playback current count register. you must load this register when playback enable (pen) is deasserted. when pen is asserted, the playback current count decrements once for every four bytes transferred via a dma cycle. the next transfer, after zero is reached in the playback current count, will gener- ate an interrupt and reload the playback current count with the value in the playback base count. the playback base count should always be programmed to number bytes divided by four, minus one ((number bytes/4) C1). the circular software dma buffer must be divisible by four to ensure proper operation. [09] playback current count default = [0x0000] 7654321076543210 pcc [15:8] pcc [7:0] pcc [15:0] playback current count register. contains the current playback dma count. reads and writes must be done when pen is deasserted. [10] capture base count default = [0x0000] 7654321076543210 cbc [15:8] cbc [7:0] cbc [15:0] capture base count. this register is for loading the capture dma count. writing a value to this register also loads the same data into the capture current count register. loading must be done when capture enable (cen) is deasserted. when cen is asserted, the capture current count decrements once for every four bytes transferred via a dma cycle. the next transfer, after zero is reached in the capture current count, will generate an interrupt and reload the capture current count with the value in the capture base count. the capture base count should always be programmed to number bytes divided by four, minus one ((number bytes/4) C1). the circular software dma buffer must be divisible by four to ensure proper operation. [11] capture current count default = [0x0000] 7654321076543210 ccc [15:8] ccc [7:0] ccc [15:0] capture current count register. contains the current capture dma count. reading and writing must be done when cen is deasserted. [12] timer base count default = [0x0000] 7654321076543210 tbc [15:8] tbc [7:0] tbc [15:0] timer base count. register for loading the timer count. writing a value to this register also loads the same data into the timer current count register. loading must be done when timer enable (te) is deasserted. when te is asserted, the timer current count register decrements once for every specified time period. the time period (10 m s or 100 ms) is programmed via the ptb bit in ss [44]. when te is asserted, the timer current count decre- ments once every time period. the next count, after zero is reached in the timer current count register, will generate an interrupt and reload the timer current count register with the value in the timer current count register. [13] timer current count default = [0x0000 ] 7654321076543210 tcc [15:8] tcc [7:0] tcc [15:0] timer dma current count register. contains the current timer count. reading and writing must be done when te is deasserted. [14] master volume attenuation default = [0x8888] 7654321076543210 lmvm res lmva [4:0] rmvm res rmva [4:0]
AD1817A C29C rev. 0 preliminary technical data rmva [4:0] right master volume attenuation. the lsb represents C1.5 db, 00000 = 0 db and the range is 0 db to C46.5 db. this register is added with the hardware volume button modifier value to produce the final dac master volume attenuation level. see hardware volume button modifier register description for more details. rmvm right master volume mute. 0 = unmuted, 1 = muted. lmva [4:0] left master volume attenuation. the lsb represents C1.5 db, 00000 = 0 db and the range is 0 db to C46.5 db. this register is added with the hardware volume button modifier value to produce the final dac master volume attenuation level. see hardware volume button modifier register description for more details. lmvm left master volume mute. 0 = unmuted, 1 = muted. [15] cd gain/attenuation default = [0x8888] 7654321076543210 lcdm res lcda [4:0] rcdm res rcda [4:0] rcda [4:0] right cd attenuation. the lsb represents C1.5 db, 00000 = +12 db and the range is +12 db to C34.5 db. rcdm right cd mute. 0 = unmuted, 1 = muted. lcda [4:0] left cd attenuation. the lsb represents C1.5 db, 00000 = +12 db and the range is +12 db to C34.5 db. lcdm left cd mute. 0 = unmuted, 1 = muted. [16] synth gain/attenuation default = [0x8888] 7654321076543210 lsym res lsya [4:0] rsym res rsya [4:0] rsya [4:0] right synth attenuation. the lsb represents C1.5 db, 00000 = +12 db and the range is +12 db to C34.5 db. rsym right synth mute. 0 = unmuted, 1 = muted. lsya [4:0] left synth attenuation. the lsb represents C1.5 db, 00000 = +12 db and the range is +12 db to C34.5 db. lsym left synth mute. 0 = unmuted, 1 = muted. [17] reserved default = [0xxxxx] 7654321076543210 reserved reserved [18] reserved default = [0x8888] 7654321076543210 res res [19] mic/phone _ in gain/attenuation default = [0xc888] 7654321076543210 mcm m20 res mca [4:0] pim res pia [3:0] res pia [3:0] phone_in attenuation. the lsb represents C3 db, 0000 = 0 db and the range is 0 db to C45 db. pim phone_in mute. mca [4:0] microphone attenuation. the lsb represents C1.5 db, 00000 = +12 db and the range is 12 db to C34.5 db. m20 microphone 20 db gain. the m20-bit enables the microphone +20 db gain stage. mcm microphone mute. [20] adc source select and adc pga default = [0x0000] 7654321076543210 lagc las [2:0] lag [3:0] ragc ras [2:0] rag [3:0] rag [3:0] right adc gain control adc source select and gain. for gain, lsb rep resents +1.5 db, 0000 = 0 db and the range is 0 db to +22.5 db. ragc right automatic gain control (agc) enable, 0 = enabled, 1 = disabled. lag [3:0] left adc gain control adc source select and gain. for gain, lsb rep resents +1.5 db, 0000 = 0 db and the range is 0 db to +22.5 db.
AD1817A C30C rev. 0 preliminary technical data lagc left automatic gain control (agc) enable, 0 = enabled, 1 = disabled. ras [2:0] adc right input source las [2:0] adc left input source 000 r_line 000 l_line 001 r_out 001 l_out 010 r_cd 010 l_cd 011 r _synth 011 l_synth 101 mono mix 101 mic 110 reserved 110 phone_in 111 reserved 111 reserved [32] chip configuration default = [0x00f0] 7654321076543210 wse cde res cnp res res cnp capture not equal to playback. 0 = capture equals playback. the capture sample rate is determined by the playback sample rate in ss [02]. 1 = capture not equal to playback. wse sound system enable. 0 = soundblaster mode. 1 = sound system mode under windows. note: when in soundblaster mode, the codec adc and dac channels will be used solely for converting soundblaster data. [33] reserved default = [0x0000] 7654321076543210 res res [34] reserved default = [0xxxxx] 7654321076543210 res res [35] reserved default = [0xxxxx 7654321076543210 res res [36] reserved default = [0xxxxx] 7654321076543210 res res [37] reserved default = 0x0000 7654321076543210 res res [38] reserved default = [0xac44] 7654321076543210 res res [39] phone _out attenutation default = [0x8000] 7654321076543210 res res res pom res poa [4:0] poa [4:0] phone_out attenuation. the lsb represents C1.5 db, 0000 = 0 db and the range is 0 db to C46.5 db. pom phone_out mute. 0 = unmuted, 1 = muted.
AD1817A C31C rev. 0 preliminary technical data [40] reserved default = 0x0000 7654321076543210 res res [41] hardware volume button modifier default = [0xxx1b] 7654321076543210 hvm hvsel hvmas hvatn [4:0] vmu vup vdn bm [4:0] bm [4:0] button modifier vdm volume down vup volume up vmu volume mute hvatn [4:0] hardware volume attenuation hvmas hardware volume master mode hvsel hardware volume select hvm hardware volume mute this register contains a master volume attenuation offset, which can be incremented or decremented via the hardware volume pins. this register is summed with the master volume attenuation to produce the actual master volume dac attenuation. a mo- mentary grounding of greater than 50 ms on the vol_up pin will cause a decrement (decrease in attenuation) in this register. holding the pin lo for greater than 200 ms will cause an auto-decrement every 200 ms. this is also true for a momentary ground- ing of the vol_dn pin. a momentary grounding of both the vol_up and vol_dn causes a mute and no increment or decre- ment to occur. when muted, an unmute is possible by a momentary grounding of both the vol_up and vol_dn pins together, a momen- tary grounding of vol_up (this also causes a volume increase), a momentary grounding of vol_dn (this also causes a volume decrease) or a write of 0 to the vi bit in ss [base+1]. [42] reserved default = [0x0000] 7654321076543210 res res [43] reserved default = [0x0000] 7654321076543210 res res [44] power-down and timer control default = [0x0000] 7654321076543210 cpd res piw pir paa pda res ptb gpsp res the AD1817A supports a timeout mechanism used in conjunction with the timer base count and timer current count registers to generate a power-down interrupt. this interrupt allows software to power down the entire chip by setting the cpd bit. this power-down control feature lets users program a time interval from 1 ms to approximately 1.8 hours in 1 ms increments. five power-down count reload enable bits are used to reload the timer current count from the timer base count when activity is seen on that particular channel. programming example: generate interrupt if no isa reads or writes occur within 15 minutes. 1) write [ssbase+0] with 0x0c ; write indirect address for timer base count register 12 2) write [ssbase+2] with 0x28 ; write timer base count with (15 min 60 sec/min 10) = 0x2328 mili-seconds 3) write [ssbase+3] with 0x23 ; write high byte of timer base count 4) write [ssbase+0] with 0x2c ; write indirect address for power-down and timer control register 5) write [ssbase+2] with 0x00 ; write low byte of power-down and timer control register 6) write [ssbase+3] with 0x30 ; set enable bits for piw & pir 7) write [ssbase+0] with 0x01 ; write indirect address for interrupt config register 8) write [ssbase+2] with 0x82 ; set the te (timer enable) bit 9) write [ssbase+3] with 0x20 ; set the tie (timer interrupt enable) bit gpsp game port speed select. selects the operating speed of the game port. 0 slow game port 1 fast game port
AD1817A C32C rev. 0 preliminary technical data ptb power-down time base. 1 = timer set to 100 ms, 0 = timer set to 10 m s. pda power-down count reload on digital activity; 1 = reload count on digital activity. digital activity is defined as any activity on fm or playback). paa power-down count reload on analog activity; 1 = reload count on analog activity. analog activity is defined as any analog input unmuted (line, cd, synth, mic, phone_in) or master volume unmuting. pir power-down count reload on isa read; 1 = reload count on isa read. isa read is defined as a read from any active logical device inside the AD1817A. piw power-down count reload on isa write; 1 = reload count on isa write. isa write defined as a write to any active logical device inside the AD1817A. cpd chip power-down 1 power-down; 0 power-up for power-up, software should poll the [ssbase+0] cry bit for 1 before writing or reading any logical device. [45] version id default = [0x0000] 7654321076543210 ver [15:8] ver [7:0] [46] reserved default = [0x0000] 7654321076543210 res res test register. should never be written or read under normal operation. sb pro; adlib registers the AD1817A contains sets of isa bus registers (ports) that correspond to those used by the soundblaster pro audio card from creative labs and the adlib audio card from adlib multimedia. table ix lists the isa bus soundblaster pro registers. table x lists the isa bus adlib registers. because the adlib registers are a subset of those in the soundblaster card, you can find com plete information on using both of these registers in the developer kit for soundblaster series, 2nd ed. ? 1993 , creative labs, inc., 1901 mccarthy blvd., milpitas, ca 95035. table viii. soundblaster pro isa bus registers register name isa bus address music0: address (w), status (r) 0x(sb base) relocatable in range 0x010 C 0x3f0 music0: data (w) 0x(sb base+1) music1: address (w) 0x(sb base+2) music1: data (w) 0x(sb base+3) mixer address (w) 0x(sb base+4) mixer data (w) 0x(sb base+5) reset (w) 0x(sb base+6) music0: address (w) 0x(sb base+8) music0: data (w) 0x(sb base+9) input data (r) 0x(sb base+a) status (r), output data (w) 0x(sb base+c) status (r) 0x(sb base+e) table ix. adlib isa bus registers register name isa bus address music0: address (w), status (r) 0x(adlib base) relocatable in range 0x008 C 0x3f8 music0: data (w) 0x(adlib base+1) music1: address (w) 0x(adlib base+2) music1: data (w) 0x(adlib base+3)
AD1817A C33C rev. 0 preliminary technical data midi and mpu-401 registers the AD1817A contains a set of isa bus registers (ports) that correspond to those used by the isa bus midi audio interface cards . table xi lists the isa bus midi registers. these registers support commands and data transfers described in midi 1.0 detailed specification and standard midi files 1.0, ? 1994, midi manufacturers association, po box 3173 la habra, ca 90632-3173. table x. midi isa bus registers register name address midi data (r/w) 0x(midi base) relocatable in range 0x008 to 0x3f8 midi status (r), command (w) 0x(midi base+1) 0x(midi base+1) bit 76543210 state 10000000 name drr dsr reserved dsr (r) data send ready. when read, this bit indicates that you can (0) or cannot (1) write to the midi data register. (full = 1, empty = 0) drr (r) data receive ready. when read, this bit indicates that you can (0) or cannot (1) read from the midi data register. (unreadable = 1, readable = 0) cmd [7:0] (w) midi command. write mpu-401 commands to bits [7:0] of this register. notes the AD1817A supports only the midi 0xff (reset) and 0x3f (pass-through mode) commands. the controller powers setup for in- telligent midi mode, but must be put in pass-through mode. to start midi operations, send a reset command (0xff) and then send a pass-through mode command (0x3f). the midi data register contains an acknowledge byte (0xfe) after each command transfer. all commands return an ack byte in smart mode. status commands (0xax) return ack and a data byte; all other commands return ack. all commands except reset (0xff) are ignored in uart mode. no ack bytes are returned. smart mode data transfers are not supported. game port registers the AD1817A contains a game port isa bus register that corresponds to the game port described in the pnp specification. table xi. game port isa bus registers register name address game port i/o 0x(game port base+0 to game port base+7 relocatable in the range 0x100 to 0x3f8
AD1817A C34C rev. 0 preliminary technical data appendix a plug and play internal rom vendor id: ads7181 serial number: ffffffff checksum: 2f pnp version: 1.0, vendor version: 20 ascii string: analog devices AD1817A logical device id: ads7180 not a boot device, implements pnp register(s) 31 start dependent function, best config irq: channel(s) 5 7 type(s) active-high, edge-triggered dma: channel(s) 1 type f, count-by-byte, nonbus-mastering, 8-bit only dma: channel(s) 0 1 3 type f, count-by-byte, nonbus-mastering, 8-bit only i/o: 16-bit decode, range [0220,0240] mod 20, length 10 i/o: 16-bit decode, range [0388,0388] mod 08, length 04 i/o: 16-bit decode, range [0500,0560] mod 10, length 10 start dependent function, acceptable config irq: channel(s) 5 7 10 type(s) active-high, edge-triggered dma: channel(s) 0 1 3 type f, count-by-byte, nonbus-mastering, 8-bit only dma: channel(s) 0 1 3 type f, count-by-byte, nonbus-mastering, 8-bit only i/o: 16-bit decode, range [0220,0240] mod 20, length 10 i/o: 16-bit decode, range [0388,0388] mod 08, length 04 i/o: 16-bit decode, range [0500,0560] mod 10, length 10 start dependent function, acceptable config irq: channel(s) 5 7 9 10 11 15 type(s) active-high, edge-triggered dma: channel(s) 0 1 3 type f, count-by-byte, nonbus-mastering, 8-bit only dma: channel(s) 0 1 3 type f, count-by-byte, nonbus-mastering, 8-bit only i/o: 16-bit decode, range [0220,02e0] mod 20, length 10 i/o: 16-bit decode, range [0388,03b8] mod 08, length 04 i/o: 16-bit decode, range [0500,0560] mod 10, length 10 start dependent function, suboptimal config irq: channel(s) 5 7 9 10 11 15 type(s) active-high, edge-triggered dma: channel(s) 0 1 3 type f, count-by-byte, nonbus-mastering, 8-bit only dma: null i/o: 16-bit decode, range [0220,02e0] mod 20, length 10 i/o: 16-bit decode, range [0388,03b8] mod 08, length 04 i/o: 16-bit decode, range [0500,0560] mod 10, length 10 end all dependent functions logical device id: ads7181 not a boot device, implements pnp register(s) 31 compatible device id: pnpb006 start dependent function, best config irq: channel(s) 5 7 9 11 type(s) active-high, edge-triggered i/o: 16-bit decode, range [0300,0330] mod 30, length 02 start dependent function, acceptable config irq: channel(s) 5 7 9 10 11 15 type(s) active-high, edge-triggered i/o: 16-bit decode, range [0300,0420] mod 30, length 02 end all dependent functions logical device id: ads7182 not a boot device, implements pnp register(s) 31 compatible device id: pnpb02f start dependent function, best config i/o: 16-bit decode, range [0200,0200] mod 08, length 08 start dependent function, acceptable config i/o: 16-bit decode, range [0200,0208] mod 08, length 08 end all dependent functions end:
AD1817A C35C rev. 0 preliminary technical data plug and play key and alternate key sequences one additional feature of the AD1817A is an alternate programming method used, for example, if a bios wants to assume control o f the AD1817A and present devnodes to the os (rather than having the device participate in plug and play enumeration). the fol- lowing technique may be used. instead of the normal 32 byte plug and play key sequence, an alternate 126 byte key is used. after the 126 byte key, the ad181 7a device will transition to the plug and play config state. it can then be programmed as usual using the standard plug and play ports. after programming, the AD1817A should be sent to the plug and play wfk (wait for key) state. once the AD1817A has seen the alternate key, it will no longer parse for the plug and play key (and therefore never participate in plug and play enumeration) . it can be reprogrammed by reissuing the alternate key again. both the plug and play key and the alternate key are sequences of writes to the plug and play address register, 0x279. below ar e the isa data values of both keys. this is the standard plug and play sequence: 6a b5 da ed f6 fb 7d be df 6f 37 1b 0d 86 c3 61 b0 58 2c 16 8b 45 a2 d1 e8 74 3a 9d ce e7 73 39 this is the longer, 126-byte alternate key. it is generated by the function: f[n+1] = (f[n] >> 1)| (((f[n] ^ (f[n] >> 1)) & 0x01) << 6) f[0] = 0x01 01 40 20 10 08 04 02 41 60 30 18 0c 06 43 21 50 28 14 0a 45 62 71 78 3c 1e 4f 27 13 09 44 22 51 68 34 1a 4d 66 73 39 5c 2e 57 2b 15 4a 65 72 79 7c 3e 5f 2f 17 0b 05 42 61 70 38 1c 0e 47 23 11 48 24 12 49 64 32 59 6c 36 5b 2d 56 6b 35 5a 6d 76 7b 3d 5e 6f 37 1b 0d 46 63 31 58 2c 16 4b 25 52 69 74 3a 5d 6e 77 3b 1d 4e 67 33 19 4c 26 53 29 54 2a 55 6a 75 7a 7d 7e 7f 3f 1f 0f 07
AD1817A C36C rev. 0 preliminary technical data using an eeprom with the AD1817A the AD1817A supports an optional plug and play resource rom. if present, the rom must be a two-wire serial device (e.g., xicor x24c02) and the clock and data lines should be wired to ee_clk and ee_data pins; pull-up resistors are required on both signals. the eeproms a2 and a1 pins (also a0 for 256-byte eeproms) must all be tied to ground. the write control pin (wc*) must be tied to power if you wish to program the eeprom in place; otherwise, we recommend tying it to ground to prevent accidental writes. the eeprom interface logic examines the state of the ee_clk pin shortly after reset is deasserted and whenever the plug and play reset register (02h) is written with a value x such that ((x & 4) 0). if ee_clk is pulled high, the eeprom logic at- tempts to read the first rom byte (page 0, byte 0). if ee_clk is tied low, the internal rom is used; in this case ee_data is used to set the state of vol_en, and should also be tied high or low. ee_clk is not used as an input at any other time. the initial part of the rom is not part of the plug and play resource data. it consists of a number of flags that enable option al functionality. the number of flag bytes and the purpose of each bit depend on whether an ad1817 or an AD1817A is being used. AD1817A flag bytes the AD1817A has four flag bytes that are used as shown below: (*) ad1817-compatible setting. byte 0 76543210 100 xtra_hv res super_en xtra_en modem_en modem_en program to one to enable the modem logical device. this logical device has an i/o range and an irq. the i/o range has the following requirements: C length of 8 bytes C alignment of 8 bytes C 16-bit address decode program to zero to enable i 2 s port 1 (super_en and irq_en must also be zero). xtra_en program to one to enable the xtra logical device. this logical device has an i/o range, an optional irq, and an optional dma. the i/o range has the following requirements: C length of 1 to 16 bytes, selectable by xtrasz0[3:0] C alignment of 1 to 16 bytes, matches length C 16-bit address decode a second i/o range is available, (see xtra_cs). program to zero to enable the dsp serial port (xtra_hv must also be zero). super_en program to one to merge the xtra and modem logical devices. if this bit is set to one, xtra_en and irq_en must be set to one and modem_en must be set to zero. the combined device has up to two i/o ranges, two irqs and one dma. the two i/o ranges are both taken from the xtra device; the modem i/o range is disabled. the first irq is the xtra device irq, the second is the modem irq. program to zero to separate the modem and xtra devices. (*) xtra_hv program to one to enable hardware volume inputs on the dsp serial port pins. only disables dsp port if i 2 s0 is set to one. program to zero to enable the xtra device dma or the dsp serial port. the three msbs in the first byte of the AD1817A eeprom are used to verify that the eeprom data is valid. the bits are compared to the values shown; if a mismatch is found, the eeprom will be disabled until it is rewritten. the internal rom will be used to perform pnp enumeration, and the modem and xtra logical devices will not be available. hardware vol- ume will be enabled on the i 2 s0 port. byte 1 76543210 100 0 0 rstb_en irqsel3_9 irqsel12_13 irqsel12_13 program to one to enable irq 13. program to zero to enable irq 12. irq_en must be one and modem_en must be zero, or this bit has no effect.
AD1817A C37C rev. 0 preliminary technical data irqsel3_9 program to one to enable irq 9. program to zero to enable irq 3. (*) modem_en or irq_en must be one, or this bit has no effect. rstb_en program to one to enable an active-low reset output. program to zero to enable xctrl0. (*) byte 2 76543210 irqsel4_9_11 irqsel9 _ 14 irqsel11_15 irqsel4_10 xtrasz0[3:0] xtrasz0[3:0] sets the xtra device i/o range 0 length. these bits are anded with the four lsbs of the address comparator result when generating ld_sel . the xtrasz0 bits set the length of one for the xtra device i/o ranges as follows: xtrasz0 i/o range length 0000 16 1000 8 1100 4 1110 2 1111 1 all other combinations cause aliasing, and should be avoided. irqsel4_10 program to one to enable irq 10. (*, if modem_en is zero) program to zero to enable irq 4. (*, if modem_en is one) irqsel11_15 program to one to enable irq 15. (*) program to zero to enable irq 11. irqsel9_14 program to one to enable irq 14. program to zero to enable irq 9. (*) irqsel4_9_11 program to one to enable irq 11. (*) program to zero to enable irq 4 (if modem_en is one) or irq 9 (if modem_en is zero). byte 3 76543210 xtrasz1[3:0] xtra_cs irq_en mirqinv xirqinv xirqinv program to one to make ld_irq active-low. program to zero to make ld_irq active-high. (*) mirqinv program to one to make mdm_irq active-low. program to zero to make mdm_irq active-high. (*) irq_en program to one to enable additional irq channels. if modem_en is zero, then two irqs are added; if modem_en is one, this bit is ignored. program to zero to enable i 2 s port 1 (super_en and modem_en must also be zero). xtra_cs program to one to enable a second i/o range for the xtra or super logical devices. it is identical to the first i/o range, except its size is controlled by xtrasz1[3:0]. program to zero to enable the xctr1/ ring_in pin. (*) always considered to be zero if xtra_en is zero. xtrasz1[3:0] sets the xtra device i/o range one length. these bits are anded with the four lsbs of the address com- parator result when generating ld_sel1 . the xtrasz1 bits set the length of one for the xtra device i/o ranges as follows: xtrasz1 i/o range length 0000 16 1000 8 1100 4 1110 2 1111 1 all other combinations cause aliasing, and should be avoided.
AD1817A C38C rev. 0 preliminary technical data using the AD1817A without an eeprom if the eeprom is absent (ee_clk pin = gnd), then the flags are set as shown below: modem_en = xtra_en = super_en = xtra_hv = rstb_en = irq_en = 0 irqsel9_14 = mirqinv = xirqinv = 0 irqsel4_10 = irqsel11_15 = irqsel4_9_11 = 1 i 2 s0_hv = ee_data pin pin muxing in the AD1817A some AD1817A options are mutually exclusive because there are a limited number of pins on the device to support them all. the tables below map functions to pin, and show how the flags must be set to assign functions to pins. for each pin, the first fun ction listed is the default; that function is used if the eeprom is absent or invalid. table xii. AD1817A pin muxing pqfp pin function i/o flags required 1 vol_up i i2s0_hv 2 vol_dn i i2s0_hv 3 gnd i i2s0_hv 68 xctl0/pclko o !rstb_en pnprst o rstb_en 69 xctl1/ring o(1) !xtra_en + !xtra_cs led_sel1 o rstb_en 75 irq(15) o (2) irqsel15_11 irq(11) o (2) !irqsel15_11 76 irq(11) o (2) irqsel4_9_11 irq(9) o (2) !irqsel4_9_11* !modem_en irq(4) o (2) !irqsel4_9_11* modem_en 77 irq(10) o (2) irqsel4_10 irq(4) o (2) !irqsel4_10 78 irq(9) o (2) !irqsel9_14 irq(14) o (2) irqsel9_14 81 irq(3) o (2) (modem_en * super_en * irq_en) * !irqsel3_9 irq(9) o (2) (modem_en * super_en * irq_en) * irqsel3_9 82 mdm_irq i modem_en 83 mdm_sel o modem_en * !super_en irq(12) o (2) (!modem_en + super_en) * irq_en * !irqsel12_13 irq(13) o (2) (!modem_en + super_en) * irq_en * irqsel12_13 97 ld_sel o xtra_en no connect o !xtra_en * xtra_hv 98 96 ld_drq i xtra_en * !xtra_hv vol_up i xtra_hv
AD1817A C39C rev. 0 preliminary technical data table xii. AD1817A pin muxing (continued) pqfp pin function i/o flags required 99 ld_dack o (3) xtra_en * !xtra_hv vol_dn i (xtra_en + xtra_cs) * xtra_hv gnd i !xtra_en * xtra_hv * !xtra_cs 100 ld_irq i xtra_en vol_dn i !xtra_en * xtra_hv * !xtra_cs gnd i !xtra_en * xtra_hv * xtra_cs (1) open-drain driver with internal weak pull-up. (2) pc_irq pins are three-stated if not assigned to a logical device. (3) a pull-up or pull-down resistor may be required if eeprom is used, because this pin is three-stated while eeprom is read. note the direction of some pins (input vs. output) depends on the flags. in order to prevent conflicts on pins that may be both in- puts and outputs, the ad1817 and AD1817A disable the output drivers for those pins while the flags are being read from the eeprom, and keeps them disabled if the eeprom data is invalid. programming external eeproms the pnp eeprom can be written only in the alternate key state; this prevents accidental eeprom erasure when using standard pnp setup. the procedure for writing an eeprom is: 1) enter pnp configuration state and fully reset the part by writing 0x07 to pnp register 0x02. this step can be eliminated if the part has not been accessed since power-up, a previous full pnp reset or assertion of the isa bus reset signal. 2) send the alternate initiation key to the pnp address port. eeprom writes are disabled if the standard pnp key is used. 3) enter isolation state and write a csn to enter configuration state. do not perform any isolation reads. 4) poll pnp register 0x05 until it equals 0x01 and wait at least 336 microseconds (ensures that eeprom is idle). 5) write the second byte of your serial identifier to pnp register 0x20. 6) read pnp register 0x04. 7) wait for at least 464 microseconds, plus the eeproms write cycle time (up to 10 ms for a xicor x24c02). 8) repeat steps 4 through 7 for each byte in your pnp rom, starting with the third byte of the serial identifier and ending with the final checksum byte. you must then continue to write filler bytes until 512 bytes, minus one more than the number of flag bytes, have been written. finally, write the flag byte(s) (described above) and the first byte of the serial identifier. 9) fully reset the part by writing 0x07 to pnp register 0x02. the ad1817 or AD1817A will now act according to the contents of the eeprom. notes programming will not work if more than one part uses the same alternate initiation key in the system. parts that use this alte r- nate initiation key are the ad1815, ad1817, and AD1817A. if a 256-byte eeprom is used, it is not necessary to wait 10 ms after writing bytes 255 to 511, because the eeprom will ig- nore them anyway. you can skip over bytes that you dont care to write by just performing a rom read instead of a rom write followed by a rom rea d. reference designs and device drivers reference designs and device drivers for the AD1817A are available via the analog devices home page on the world wide web at http://www.analog.com. refe rence designs may also be obtained by contacting your local analog devices sales representa- tive or authorized distributor. a typical application circuit is shown in figure 8.
AD1817A C40C rev. 0 preliminary technical data v cc a_vol mic l_line r_line l_synth r_synth l_filt l_cd r_cd v ref_x phone_in v ref r_filt l_aafilt r_aafilt 0.47 f 44 0.47 f 42 0.47 f 41 0.47 f 46 0.47 f 45 0.47 f 48 0.47 f 47 0.47 f 43 0.47 f 31 v cc 25k w 25k w 1 f 30 1 f 29 1 f 28 l_out r_out phone_out 47k w 47k w 47k w 0.1 f 10 f 0.1 f 10 f 36 35 38 1 f 37 1 f 40 560pf npo 39 560pf npo 0.01 f 50 0.01 f 49 0.01 f 54 0.01 f 53 0.01 f 52 0.01 f 51 0.01 f 56 0.01 f 55 2.2k w 2.2k w 2.2k w 2.2k w eeprom (optional) 57 58 10k w 10k w v dd v dd 66 67 4.7k w v dd 85C88, 91C94 75C81, 83 72C74 4C19 20 59C61 22 21 25 isa bus ee_clk ee_data a_1 a_2 a_x a_y b_1 b_2 b_x b_y midi_in midi_out pc_d[7:0] irq(x) drq(x) pc_a(15:0) aen dack(x) ior iow reset 63 64 14.31818mhz gnda gnd gnd gnd gnd gnd gnd 34 24 65 70 84 90 96 v dd v dd v dd v dd v dd 100nf 100nf 33 100nf 4.7 f 600z 23 62 71 89 95 100nf 100nf 100nf +5v regulated 18pf 18pf AD1817Ajs figure 8. typical application circuit
AD1817A C41C rev. 0 preliminary technical data xf s 0 C100 C10 C40 C60 C80 C90 C20 C30 C50 C70 C110 0 0.8 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.9 1 db a. adc audio xf s 0 C0.1 C0.2 0 0.1 db 0.2 0.3 0.4 b. adc audio passband xf s 0 C200 08 1234567 C20 C80 C120 C160 C180 C40 C60 C100 C140 db c. dac audio xf s 0 C0.1 C0.2 0 0.1 db 0.2 0.3 0.4 d. dac audio passband figure 9. AD1817A frequency response plots (full-scale line-level input, 0 db gain). the plots do not reflect the additional benefits of the ad1815 analog filters. out-of-band images will be attenuated by an additional 31.4 db at 100 khz.
AD1817A C42C rev. 0 preliminary technical data outline dimensions dimensions shown in inches and (mm). 100-lead plastic quad flatpack (s-100) 81 100 1 50 80 31 30 51 top view (pins down) pin 1 0.015 (0.35) 0.009 (0.25) 0.923 (23.45) 0.903 (22.95) 0.742 (18.85) typ 0.791 (20.10) 0.783 (19.90) 0.687 (17.45) 0.667 (16.95) 0.486 (12.35) typ 0.555 (14.10) 0.547 (13.90) 0.029 (0.73) 0.023 (0.57) seating plane 0.096 (2.45) max 0.037 (0.95) 0.026 (0.65) 0.004 (0.10) max 0.010 (0.25) min 0.083 (2.10) 0.075 (1.90)
e43e
c3071exxe5/97 printed in u.s.a. e44e


▲Up To Search▲   

 
Price & Availability of AD1817A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X